package com.chixing.day03_oop;

public class Job {
    private Integer jobId;
    private Company company;
    private String jobName;
    private Double minWage;
    private Double maxWage;
    private String edu;
    private String workCity;

    public Job(Integer jobId, Company company, String jobName, Double minWage, Double maxWage, String edu, String workCity) {
        this.jobId = jobId;
        this.company = company;
        this.jobName = jobName;
        this.minWage = minWage;
        this.maxWage = maxWage;
        this.edu = edu;
        this.workCity = workCity;
    }

    public Job() {
    }

    public Integer getJobId() {
        return jobId;
    }

    public void setJobId(Integer jobId) {
        this.jobId = jobId;
    }

    public Company getCompany() {
        return company;
    }

    public void setCompany(Company company) {
        this.company = company;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public Double getMinWage() {
        return minWage;
    }

    public void setMinWage(Double minWage) {
        this.minWage = minWage;
    }

    public Double getMaxWage() {
        return maxWage;
    }

    public void setMaxWage(Double maxWage) {
        this.maxWage = maxWage;
    }

    public String getEdu() {
        return edu;
    }

    public void setEdu(String edu) {
        this.edu = edu;
    }

    public String getWorkCity() {
        return workCity;
    }

    public void setWorkCity(String workCity) {
        this.workCity = workCity;
    }

    @Override
    public String toString() {
        return "Job{" +
                "jobId=" + jobId +
                ", company=" + company +
                ", jobName='" + jobName + '\'' +
                ", minWage=" + minWage +
                ", maxWage=" + maxWage +
                ", edu='" + edu + '\'' +
                ", workCity='" + workCity + '\'' +
                '}';
    }
}
